//
// Created by Semir on 2020/6/4.
//

#ifndef LEETCODE_TREE_H
#define LEETCODE_TREE_H

#include <iostream>

using namespace std;

struct TreeNode {
    int val;
    TreeNode *left;
    TreeNode *right;
    explicit TreeNode() : val(-1), left(nullptr), right(nullptr) {} ;
    explicit TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
};

TreeNode* TestTree1();
TreeNode* TestTree2();
TreeNode* TestTree3();
TreeNode* TestTree4();
TreeNode* TestTree5();
TreeNode* TestTree6();

#endif //LEETCODE_TREE_H
